package com.register;

import Student.User;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Register {

    public static void main(String[] args) {
        ClassPathXmlApplicationContext classPathXml = new ClassPathXmlApplicationContext("register.xml");
        User user = (User) classPathXml.getBean("user");
        System.out.println(user);

    }
}
